package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 测试异常
 * @author lixu
 */
@Controller
@RequestMapping("/exception")
public class ExceptionController {


    @GetMapping("/list")
    public String list(){
        int i = 1/0;

        return "";
    }
}
